
<?php echo form_open('cities/send'); //This is kinda similar to the action field in a regular form ?>
	<?php  
		$user_data = array (
			'name' => 'cityname',
			 'id' => 'name',
			 'value' => set_value('name')
		);
	?>

	<p>City Name: <?php echo form_input($user_data); ?></p>
	<p><?php echo form_submit('submit', 'Submit'); ?></p>
	<?php echo form_close(); ?>
	<?php echo validation_errors(); ?>

